package com.lry.basic.jvm.asm.transform_class.demo2;

import aj.org.objectweb.asm.ClassVisitor;

import static aj.org.objectweb.asm.Opcodes.V1_7;

public class ChangeInterfaceVisitor extends ClassVisitor {
    public ChangeInterfaceVisitor(int api, ClassVisitor cv) {
        super(api,cv);
    }

    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        super.visit(version, access, name, signature, superName, new String[]{"java/lang/Cloneable"});
    }
}
